<template>
	<view class="component">
		<view class="searchWrap bg-fff flex font13 border-grey" @click="clickSearch">
			<view class="iconPlace flex col-grey">
				<up-icon name="search" size="18" color="#8A8A8A"></up-icon>
				<view class="left-5">搜索楼盘/区域...</view>
			</view>
			<view class="searchText">搜索</view>
		</view>
	</view>
</template>

<script setup>
	//点击搜索
	function clickSearch() {
		uni.navigateTo({
			url: '/pages/search/search-result'
		});
    }
</script>

<style lang="scss" scoped>
.searchWrap {
	margin: 28rpx;
	height: 80rpx;
	border-radius: 40rpx;
	padding: 0 30rpx;
	justify-content: space-between;
}
</style>
